inspector: Avoid a NULL deref
authorMatthias Clasen <mclasen@redhat.com>
Fri, 17 Jul 2015 23:52:52 +0000 (19:52 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 17 Jul 2015 23:52:52 +0000 (19:52 -0400)
commitd8a40c458717d6fdf27da64d66e74ae926ddf766
tree6e6726d27b74ab9125b3fc3cb01159083dea2655
parent0bb2567ff57c6758684df97a23e032f534b0077a
inspector: Avoid a NULL deref

Coverity pointed out that getting a class name requires
dereferencing the pointer, so only don't do it if it is NULL.
gtk/inspector/object-tree.c